/**
 * Created by TYC on 2016/3/20.
 */
import java.math.BigDecimal;

public class DecimalDemo
{
    public static void main(String[] args)
    {
        BigDecimal operand1 = new BigDecimal ("1.0");
        BigDecimal operand2 = new BigDecimal ("0.8");
        BigDecimal result = operand1.subtract(operand2);
        System.out.println(result);

    }
}